﻿using BootstrapBlazor.Components;
using BPM.Web.Shared.Data;

namespace BPM.Web.Shared.Service;

public interface ISysRoleService
{
    Task<QueryData<SysRole>> PageAsync(RolePageInput input);

    Task<List<RoleOutput>?> DropDownAsync();

    Task<bool> AddAsync(SysRole input);

    Task<bool> DeleteAsync(IEnumerable<SysRole> input);

    Task<bool> EditAsync(SysRole input);

    Task<SysRole?> DetailAsync(QueryRoleInput input);
}
